﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace PubSubLite.Configuration
{
    /// <summary>
    /// Configuration secion for PubSubLite
    /// </summary>
    public class PubSubLiteConfigurationSection : ConfigurationSection
    {
        [ConfigurationProperty("tcpChannels")]
        public TcpChannelsConfig TcpChannels
        {
            get
            {
                if (this["tcpChannels"] == null)
                {
                    return null;
                }
                return (TcpChannelsConfig)this["tcpChannels"];
            }
            set
            {
                this["tcpChannels"] = value;
            }
        }
    }
}
